import mockData from './data'
export const simple = {
  columns: [
    {
      title: '站点',
      width: 90,
      dataIndex: 'locationName',
      customRender: (text) => {
        if (text) {
          return text
        } else {
          return '无'
        }
      }
    },
    {
      title: '名称/品类',
      width: 200,
      dataIndex: 'name',
      scopedSlots: {
        customRender: 'name'
      }
    },
    {
      title: '人员',
      width: 150,
      dataIndex: 'people',

      scopedSlots: {
        customRender: 'people'
      }
    },

    {
      title: '套餐',
      width: 250,
      dataIndex: 'item',

      scopedSlots: {
        customRender: 'item'
      }
    },
    {
      width: 180,
      dataIndex: 'number',

      scopedSlots: {
        customRender: 'number',
        title: 'numberTitle'
      }
    },
    {
      title: '时间',
      width: 170,
      dataIndex: 'time',
      scopedSlots: {
        customRender: 'time'
      }
    },
    {
      title: '资质',
      width: 200,
      dataIndex: 'qualificationUrlList',
      scopedSlots: {
        customRender: 'qualificationUrlList'
      }
    },
    {
      title: '百度状态',
      width: 130,
      dataIndex: 'baiDuVisibleStr'
    },
    {
      title: '操作',
      key: 'action',
      width: 100,
      scopedSlots: {
        customRender: 'action'
      }
    }
  ],
  innerColumns: [
    {
      title: '套餐名称',
      width: 140,
      dataIndex: 'name',
      customRender: (text) => {
        if (text) {
          return text
        } else {
          return '无'
        }
      }
    },
    {
      title: '数量',
      width: 180,
      dataIndex: 'number',

      scopedSlots: {
        customRender: 'number'
      }
    },
    {
      title: '价格',
      width: 140,
      dataIndex: 'price',
      scopedSlots: {
        customRender: 'price'
      }
    },

    {
      title: '达人佣金',
      width: 170,
      dataIndex: 'talentOfSmallYuan',
      scopedSlots: {
        customRender: 'talentOfSmallYuan'
      }
    }
  ],
  data: mockData
}
